.CSS_START_components_slider {
  display: none;
}

.slider {
  display: block;
  position: relative;

  &_wrapper {
    position: relative;
    min-height: 400px;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: normal;
    -webkit-overflow-scrolling: touch;
    overflow: scroll hidden;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  &_items {
    display: inline-flex;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;

    & > *:not(:first-child) {
      margin-left: 15px;
    }

    li {
      list-style-type: none;
      scroll-snap-align: start;

      &:last-child {
        scroll-snap-align: end;
      }
    }
  }

  > button {
    display: flex;
  }

  button:disabled {
    svg {
      fill: var(--color-disabled);
    }
  }
}

.slider_button {
  &_prev {
  right: 40px;
  transform: translateY(-50%) rotateY(180deg);

  svg {
    margin: auto;
  }
  }

  &_next {
    right: 0;
    transform: translateY(-50%);

    svg {
      margin: auto;
    }
  }

  &_prev,
  &_next {
    position: absolute;
    top: -30px;
  }
}


.continue_reading {
  border: 1px solid var(--color-gray-250);
  background-color: var(--color-gray-50);
  border-radius: 6px;
  margin: 20px;
  padding: 20px;

  .slider_wrapper {
    min-height: 380px;
    height: fit-content;
    padding-bottom: 10px;
  }

  .publication_wrapper {
    width: 170px;
    height: 360px;

    img, .no_img_wrapper {
      height: 225px;
    }
  }

  .cover_img {
    background-color: var(--color-neutral-base);
  }
}

.home_section {
  border: 1px solid transparent;
  margin: 20px;
}

.CSS_END_components_slider {
  display: none;
}
